class AddEventLogging < ActiveRecord::Migration
  def self.up
    create_table :member_events do |t|
      t.belongs_to :acting_member, :null => false
      t.belongs_to :target_member, :null => false
      t.belongs_to :other_target_member
      t.belongs_to :event, :null => false
      t.string :description, :null => false
      t.timestamps
    end
  end

  def self.down
    drop_table :member_events
  end
end
